///////////////////////////////////////////////////////////////////////////////
//
// Copyright
//
///////////////////////////////////////////////////////////////////////////////

package ru.goodcore.datastructure
{

import ru.goodcore.errors.GenericError;
import ru.goodcore.errors.GenericErrorCode;

/**
 * Implements double-linked list structute
 * 
 * 
 * @author					Dimarik
 * @version					1.0
 * @playerversion			Flash 9
 * @langversion				3.0
 * 
 * @see						http://en.wikipedia.org/wiki/Linked_list
 *
 * @keyword					loublelinkedlist, linkedlist, datastructure
 */
public class DoubleLinkedListNode
{

	//-------------------------------------------------------------------------
	//
	//  Constructor
	//
	//-------------------------------------------------------------------------

	/**
	 * Constructor
	 */
	public function DoubleLinkedListNode() {
		super();
	}

	//-------------------------------------------------------------------------
	//
	//  Properties
	//
	//-------------------------------------------------------------------------

	/**
	 * @private
	 */
	internal var $next:	DoubleLinkedListNode;

	public function get next():DoubleLinkedListNode {
		return this.$next;
	}

	/**
	 * @private
	 */
	internal var $prev:	DoubleLinkedListNode;

	public function get prev():DoubleLinkedListNode {
		return this.$prev;
	}

	//-------------------------------------------------------------------------
	//
	//  Public variables
	//
	//-------------------------------------------------------------------------

	/**
	 * 
	 */
	public var value:	*;

}
}